export interface ISprite {
    update(timespan: number): void;
    draw(canvas: HTMLCanvasElement): void;
}

export abstract class Sprite implements ISprite {
    abstract update(timespan: number): void;
    abstract draw(canvas: HTMLCanvasElement): void;
}